
//存储token
export const SET_TOKEN = (token:any) => {
    //本地持久化存储token 
    localStorage.setItem("TOKEN", token);
}


//获取token
export const GET_TOKEN = () => {
    let token = localStorage.getItem('TOKEN');
    return token;
}


//移出token
export const REMOVE_TOKEN = ()=>{
     localStorage.removeItem("TOKEN");
}